package com.stevenmoon.csdnplus.mvpview;

import com.hannesdorfmann.mosby.mvp.MvpView;

/**
 * Created by WangJun on 2016/4/11.
 */
public interface RefreshView<M> extends MvpView {

    void showLoading();

    void hideLoading();

    void loadNewDataSuccess(M data);

    //TODO 用异常更好
    void loadNewDataFail(String msg);
//    void loadNewDataFail(CSDNException exception);



}
